//
//  EMMessageFrame.h
//  EaseMob
//
//  Created by wwj on 16/5/31.
//  Copyright © 2016年 wfw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EMMessage.h"

typedef NS_ENUM(NSInteger, MessageType){
    MessageTypeMe = 0,
    MessageTypeOther
};

@interface EMMessageFrame : NSObject
@property (strong, nonatomic) EMMessage *message;
/**发送时间*/
@property (nonatomic, copy) NSString *time;
/**是否需要显示时间*/
@property (nonatomic, assign) BOOL isHiden;
@property (assign, nonatomic) MessageType type;

@property (assign, nonatomic, readonly) CGRect timeF;
@property (assign, nonatomic, readonly) CGRect iconF;
@property (assign, nonatomic, readonly) CGRect textF;
@property (assign, nonatomic, readonly) CGRect voiceF;
@property (assign, nonatomic, readonly) CGRect imageF;
@property (assign, nonatomic, readonly) CGFloat height;
@end
